package include2;

class Calculator{
	int a;
	int b;
	public void add(){
		System.out.println(a+b);
	}
	
	public void subtracpt(){
		System.out.println(a-b);
	}
	
	public void div(){
		System.out.println(a/b);
	}
	
	public void mub(){
		System.out.println(a*b);
	}
}

public class Test2 {
	public static void main(String[] args) {
		Calculator c = new Calculator();
		c.a = 1;
		c.b = 2;
		c.add();
		c.a = 3;
		c.b = 4;
		c.subtracpt();
		c.div();
		c.mub();
	}
}
